package com.thor.palmmall.rest.balancebill;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.thor.commons.entity.StandardEntity;
import com.thor.commons.entity.UCN;
/**
 * 对账单
 * @author vergar
 *
 */
public class BanlanceBill extends StandardEntity implements Serializable {
  private static final long serialVersionUID = -2043531577313449102L;
  private String billNo;//对账单号
  private UCN store;//项目
  private UCN tenant;//商户
  private UCN contract;//合同
  private BigDecimal payTotal;//应付合计
  private BigDecimal payedTotal;//已付合计
  private BigDecimal unpayedTotal;//未付合计
  private String billState;//状态
  private String attachmentId;//附件id
  private String billSettle;//账期
  private String legalName ;//企业名称
  private String taxCode ;//租户结构代码
  private String legalPersion ;//企业法人
  private String address ;//企业法人
  private String phone ;//电话
  private String contractType;//合同类型
  
  private List<BanlanceBillDetail> details = new ArrayList<BanlanceBillDetail>();
  
  public String getBillNo() {
    return billNo;
  }
  public void setBillNo(String billNo) {
    this.billNo = billNo;
  }
  public UCN getStore() {
    return store;
  }
  public void setStore(UCN store) {
    this.store = store;
  }
  public UCN getTenant() {
    return tenant;
  }
  public void setTenant(UCN tenant) {
    this.tenant = tenant;
  }
  public UCN getContract() {
    return contract;
  }
  public void setContract(UCN contract) {
    this.contract = contract;
  }
  public BigDecimal getPayTotal() {
    return payTotal;
  }
  public void setPayTotal(BigDecimal payTotal) {
    this.payTotal = payTotal;
  }
  public BigDecimal getPayedTotal() {
    return payedTotal;
  }
  public void setPayedTotal(BigDecimal payedTotal) {
    this.payedTotal = payedTotal;
  }
  public BigDecimal getUnpayedTotal() {
    return unpayedTotal;
  }
  public void setUnpayedTotal(BigDecimal unpayedTotal) {
    this.unpayedTotal = unpayedTotal;
  }
  public String getBillState() {
    return billState;
  }
  public void setBillState(String billState) {
    this.billState = billState;
  }
  public String getAttachmentId() {
    return attachmentId;
  }
  public void setAttachmentId(String attachmentId) {
    this.attachmentId = attachmentId;
  }
  public String getBillSettle() {
    return billSettle;
  }
  public void setBillSettle(String billSettle) {
    this.billSettle = billSettle;
  }
  public List<BanlanceBillDetail> getDetails() {
    return details;
  }
  public void setDetails(List<BanlanceBillDetail> details) {
    this.details = details;
  }
  public String getLegalName() {
    return legalName;
  }
  public void setLegalName(String legalName) {
    this.legalName = legalName;
  }
  public String getTaxCode() {
    return taxCode;
  }
  public void setTaxCode(String taxCode) {
    this.taxCode = taxCode;
  }
  public String getLegalPersion() {
    return legalPersion;
  }
  public void setLegalPersion(String legalPersion) {
    this.legalPersion = legalPersion;
  }
  public String getAddress() {
    return address;
  }
  public void setAddress(String address) {
    this.address = address;
  }
  public String getPhone() {
    return phone;
  }
  public void setPhone(String phone) {
    this.phone = phone;
  }
  public String getContractType() {
    return contractType;
  }
  public void setContractType(String contractType) {
    this.contractType = contractType;
  }
  
}
